Create Profile
POST/profiles/create
Create Profile
Request
- application/json
Body
required
- MOD1
- MOD1
- MOD1
- MOD1
- MOD1
- MOD1
- MOD1
- MOD1
Array [
]
- MOD1
Array [
]
- MOD1
- MOD1
Array [
]
- MOD1
- MOD1
- MOD1
- MOD1
Array [
]
- MOD1
- MOD1
- MOD1
Array [
]
- MOD1
- MOD1
- MOD1
- MOD1
- MOD1
- MOD1
- MOD1
- MOD1
- MOD1
- MOD1
- MOD1
- MOD1
- MOD1
- MOD1
- MOD1
- MOD1
- MOD1
- MOD1
Array [
]
profile_type
object
anyOf
string
cpu_architecture
object
anyOf
string
min_cpu
object
anyOf
string
min_memory
object
anyOf
string
max_cpu
object
anyOf
string
max_memory
object
anyOf
string
requirements
object
AcceleratorCount
object
anyOf
integer
AcceleratorManufacturers
object
anyOf
string
Possible values: [NVIDIA
, Xilinx
, Habana
, AMD
, AWS
, Qualcomm
]
AcceleratorNames
object
anyOf
string
Possible values: [Inferentia
, M60
, A10G
, T4
, Radeon Pro V520
, T4g
, V100
, K80
, A100
, Virtex UltraScale (VU9P)
, Qualcomm AI100
, H100
, Gaudi HL-205
]
AcceleratorTotalMemoryMiB
object
anyOf
integer
AcceleratorTypes
object
anyOf
string
Possible values: [GPU
, FPGA
, Inference
]
BareMetal
object
anyOf
boolean
BaselineEbsBandwidthMbps
object
anyOf
number
BurstablePerformanceSupported
object
anyOf
boolean
CpuManufacturers
object
anyOf
string
Possible values: [Intel
, AMD
, AWS
, Apple
]
CurrentGeneration
object
anyOf
boolean
InstanceStorageSupported
object
anyOf
boolean
LocalStorageTypes
object
anyOf
string
Possible values: [ssd
, hdd
]
MaxSpotPriceAsPercentageOfOptimalOnDemandPrice
object
anyOf
number
MemoryGiBPerVCpu
object
anyOf
number
MinMemoryMiB
object
anyOf
integer
MaxMemoryMiB
object
anyOf
integer
NetworkBandwidthGbps
object
anyOf
number
NetworkInterfaceCount
object
anyOf
integer
OnDemandMaxPricePercentageOverLowestPrice
object
anyOf
number
HibernationSupported
object
anyOf
boolean
SpotMaxPricePercentageOverLowestPrice
object
anyOf
number
TotalLocalStorageGB
object
anyOf
integer
MinVCpuCount
object
anyOf
integer
MaxVCpuCount
object
anyOf
integer
ENITrunking
object
anyOf
boolean
MinLocalStorageSizePerDisk
object
anyOf
integer
MaxLocalStorageSizePerDisk
object
anyOf
integer
eni_trunking_compatible
object
anyOf
boolean
exclude_metal
object
anyOf
boolean
selected_instance_families
object
anyOf
Responses
- 200
- 201
- 400
Successful Response
- application/json
- Schema
Schema
any
Creates a profile to later be used in configurations
- application/json
- Schema
- Example (from schema)
- Example
Schema
any
{
"profile_type": "balanced",
"cpu_architecture": "x86_64",
"min_cpu": "1",
"min_memory": "1",
"requirements": {
"AcceleratorCount": 1,
"AcceleratorManufacturers": [
"NVIDIA",
"Xilinx"
],
"AcceleratorTotalMemoryMiB": 100,
"AcceleratorTypes": [
"GPU",
"FPGA"
],
"BaselineEbsBandwidthMbps": 10,
"BurstablePerformanceSupported": false,
"CpuManufacturers": [
"Intel",
"AMD",
"AWS"
],
"CurrentGeneration": true,
"InstanceStorageSupported": true,
"LocalStorageTypes": [
"ssd",
"hdd"
]
},
"eni_trunking_compatible": true,
"exclude_metal": false
}
{
"profile_type": "balanced",
"cpu_architecture": "x86_64",
"min_cpu": "1",
"min_memory": "1",
"requirements": {
"AcceleratorCount": 1,
"AcceleratorManufacturers": [
"NVIDIA",
"Xilinx"
],
"AcceleratorTotalMemoryMiB": 100,
"AcceleratorTypes": [
"GPU",
"FPGA"
],
"BaselineEbsBandwidthMbps": 10,
"BurstablePerformanceSupported": false,
"CpuManufacturers": [
"Intel",
"AMD",
"AWS"
],
"CurrentGeneration": true,
"InstanceStorageSupported": true,
"LocalStorageTypes": [
"ssd",
"hdd"
]
},
"eni_trunking_compatible": true,
"exclude_metal": false
}
Client Error
- application/json
- Schema
- Example (from schema)
- Example
Schema
any
{
"detail": [
{
"loc": [
"body",
"min_memory"
],
"msg": "str type expected",
"type": "type_error.str"
}
]
}
{
"detail": [
{
"loc": [
"body",
"min_memory"
],
"msg": "str type expected",
"type": "type_error.str"
}
]
}